package test;

import org.springframework.stereotype.Component;

@Component("bus")
public class Bus implements Vehicle{
    public void drive(){
        System.out.println("开公交车");
    }
}
